﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace WeaterService
{
    [ServiceContract]
    public interface IWeatherInfoService
    {
        [OperationContract]
        WeatherInfo GetWeatherByLocation(string location);

        [OperationContract]
        GpsCoordinates GetGpsCoordinatesFromLocation(string location);

        [OperationContract]
        WeatherInfo GetWeatherByCoordinates(GpsCoordinates coordinates);

        [OperationContract]
        decimal GetTemperature(string location);
    }
}
